Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backport #1367 to Harmonic: Fix find Python3 logic and macOS workflow #1368

Merged
merged 2 commits into from
Feb 2, 2024

Conversation

scpeters
Copy link
Member

@scpeters scpeters commented Feb 2, 2024

Backport

Backport #1367 to Harmonic. The patch applies cleanly to sdf14 but will require small modifications to backport to sdf13 since Python3 was not required in Garden.

Original commit message:

Fix find Python3 logic and macOS workflow

  • Find Python3 with find_package instead of GzPython, adapting the approach from gz-sim.
  • macos workflow: use brew --prefix, not /usr/local
  • macos workflow: set Python3_EXECUTABLE cmake var

Note to maintainers: Remember to use Rebase-and-Merge.

* Find Python3 with find_package instead of GzPython,
  adapting the approach from gz-sim.
* macos workflow: use brew --prefix, not /usr/local
* macos workflow: set Python3_EXECUTABLE cmake var

Signed-off-by: Steve Peters <[email protected]>
@scpeters scpeters requested a review from azeey as a code owner February 2, 2024 01:04
@github-actions github-actions bot added the 🎵 harmonic Gazebo Harmonic label Feb 2, 2024
Copy link

codecov bot commented Feb 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (c3960a5) 92.40% compared to head (a18090d) 92.40%.
Report is 4 commits behind head on sdf14.

Additional details and impacted files
@@           Coverage Diff           @@
##            sdf14    #1368   +/-   ##
=======================================
  Coverage   92.40%   92.40%           
=======================================
  Files         134      134           
  Lines       17674    17674           
=======================================
  Hits        16332    16332           
  Misses       1342     1342           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@scpeters
Copy link
Member Author

scpeters commented Feb 2, 2024

something's wrong with the python version in the macOS workflow; I'm going to try something...

@scpeters scpeters merged commit 3e0d533 into sdf14 Feb 2, 2024
12 checks passed
@scpeters scpeters deleted the scpeters/pick_fix_find_python_14 branch February 2, 2024 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🎵 harmonic Gazebo Harmonic
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants